/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
<<<<<<< HEAD
 * @author: swx  Date: 2019-03-20
 */

import {Action} from "../../../configuration/ActionCreator"
import {requestChangePassword} from "../../../request/ChangePasswordRequest.js"

/**
 * 获取数据
 * @str {string}
 */
export const ChangePassword = 'ChangePassword';
export const toChangePassword = (str) => {
    let action = Action(ChangePassword);
    return dispatch => dispatch(requestChangePassword(action, str))
}

